<?php
require 'classes/Direk.class.php';

session_start();

$d = new Direk();
$action = $_REQUEST[ 'action' ];
$script_name = basename( $_SERVER[ 'SCRIPT_URI' ] );

if ( $_REQUEST[ 'id' ] ) {
    $id = $_REQUEST[ 'id' ];
    $contact = $d->get_contact( $id );
}

?>
